package corestruct

import (
	"core/class"
	"core/selfreg"
	"reflect"
)

type KvInt64Model struct {
	Id string `json:"id"         validate:"required,max=50"gorm:"column:name;size:50;DEFAULT:'';not null;comment:名称;"`
	V1 int64  `json:"v1,string"         validate:"" gorm:"column:v1;comment:值;"`
	V2 int64  `json:"v2,string"         validate:"" gorm:"column:v2;comment:值;"`
	V3 int64  `json:"v3,string"         validate:"" gorm:"column:v3;comment:值;"`
	V4 int64  `json:"v4,string"         validate:"" gorm:"column:v4;comment:值;"`
	V5 int64  `json:"v5,string"         validate:"" gorm:"column:v5;comment:值;"`
	V6 int64  `json:"v6,string"         validate:"" gorm:"column:v6;comment:值;"`
}

/**
*注册类型
 */
func init() {
	var mcls = &KvModel{}
	var m = &class.MyClass{
		Name:     "KvModel",
		Ename:    "",
		FullName: "",
		Memo:     "",
		Fileds:   nil,
		PrjName:  "",
		Type:     reflect.TypeOf(mcls),
	}
	selfreg.AddDto(m)
}
